package com.saicent.note.core;

import java.util.regex.Pattern;

public class RegularExpression {
	
	private static final String META_ELEMENT_REGX  = "\\<\\s*meta\\s*name\\s*[=]\\s*\\\"categories\\\"\\s*content\\s*[=]\\s*\\\"(\\S+)\\\"\\s*\\>";
	private static final String TITLE_ELEMENT_REGX = "\\<\\s*title\\s*\\>\\s*([\\S][\\S\\s]*[\\S])\\s*\\</\\s*title\\s*\\>";
	
	public static final Pattern metaElement  = Pattern.compile(META_ELEMENT_REGX);
	public static final Pattern titleElement = Pattern.compile(TITLE_ELEMENT_REGX);
	
}
